// GetFileVerInfoDlg.h : header file
//

#if !defined(AFX_GETFILEVERINFODLG_H__A1330362_A97C_403E_BFEE_C529AF9FEC5F__INCLUDED_)
#define AFX_GETFILEVERINFODLG_H__A1330362_A97C_403E_BFEE_C529AF9FEC5F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CGetFileVerInfoDlg dialog



// typedef struct _TestFileHead
// {
// 	DWORD dwFileType;
// 	DWORD dw
// 	DWORD dwReserved;
// }TESTFILEHEAD, *PTESTFILEHEAD;

class CGetFileVerInfoDlg : public CDialog
{
// Construction
public:
	CGetFileVerInfoDlg(CWnd* pParent = NULL);	// standard constructor
	CString GetVersionFromPath(CString IDEPath);

// Dialog Data
	//{{AFX_DATA(CGetFileVerInfoDlg)
	enum { IDD = IDD_GETFILEVERINFO_DIALOG };
	CListCtrl	m_listTestData;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGetFileVerInfoDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
	//HRESULT GetTestDataFromFile(CFile* pfile, PTESTDATA ptestdata, DWORD* pcount);

	// Generated message map functions
	//{{AFX_MSG(CGetFileVerInfoDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnBtnOpendatafile();
	afx_msg void OnBtnSavedatafile();
	afx_msg void OnBtnEdit();
	afx_msg void OnDblclkListTestdata(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_GETFILEVERINFODLG_H__A1330362_A97C_403E_BFEE_C529AF9FEC5F__INCLUDED_)
